package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import com.vf.admin.fiwork.dto.UserInfoDto;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppMingXiSongLi.java
 * @Description 送礼明细
 * @createTime 2021年11月02日 15:07:00
 */
@Table(name = "app_mingxi_songli")
@Data
public class AppMingXiSongLi implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column(length = 11, name = "id", index = true)
    private Integer id;
    private Integer userid;                 //用户id
    private String pic;                     //用户图片
    private String nick;                    //用户昵称
    private String phone;                   //用户手机
    private Integer giftid;                 //礼物id
    private Integer liwunum;                //礼物数量
    private String giftname;                //礼物名称
    private String giftpic;                 //礼物图片
    private long fujianum;                  //钻石
    private String beizhu;                  //备注
    private Integer sluserid;               //收礼人userid
    private String slusernick;              //收礼人昵称
    private String sluserpic;               //收礼人头像
    private String sluserphone;             //收礼人电话
    private Date createtime;


    @NoColumn
    private Long total;                 //金豆总数

    @NoColumn
    private UserInfoDto userInfoDto;    //用户信息；

    @NoColumn
    private Integer friendsStatus;      //1=已关注 2=未关注

    @NotBlank
    private Integer liveStatus;   //1=在直播 2= 未直播
    @NoColumn
    private BigDecimal totalMoney;

}
